package com.yashi.entity;

import java.util.List;

/**
 * 群组表; InnoDB free: 169984 kB
 * 
 * @author haoyun
 * 
 * @date 2018-09-13
 */
public class TbGroup {
    /**
     * id
     */
    private String id;

    /**
     * 群名称
     */
    private String groupName;

    /**
     * 创建人id
     */
    private String userId;

    /**
     * 创建日期
     */
    private String createDate;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 修改人
     */
    private String updateBy;

    /**
     * 修改日期
     */
    private String updateDate;

    /**
     * 是否删除（‘0’未删除：‘1’删除）
     */
    private String delFlag;
    /**
     * 群头像
     */
    private String photo;
    /**
     * 群简介
     */
    private String remarks;
    /**
     * 最后一条群消息
     */
    private List<TbUserChat> lastUserChat;
    

    public List<TbUserChat> getLastUserChat() {
		return lastUserChat;
	}

	public void setLastUserChat(List<TbUserChat> lastUserChat) {
		this.lastUserChat = lastUserChat;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName == null ? null : groupName.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate == null ? null : createDate.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate == null ? null : updateDate.trim();
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }
}